@layout("/common/layout.html"){
@ var admin = false ;


<bg:table id="tableId" style="kk" data="${userList}" var="row,index">

<bg:tr style="trcss1" name="名称" important="true" > ${row.name} </bg:tr>

<bg:tr style="trcss2" name="年纪" important="true" > ${row.age} </bg:tr>
<bg:tr style="trcss2" name="生日" important="true"> ${row.bir,'yyyy-MM-dd'} </bg:tr>
<bg:tr style="trcss2" name="描述"> ${row.descr} </bg:tr>
@   if(admin){
<bg:trOpt style="trcss3" name="操作" important="true"> <bg:label icon="update">更新</bg:label><bg:label icon="update">delete</bg:label></bg:trOpt>
@    }
</bg:table>
@}


结束符

